package xcmg.device.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.company.CompanyInvitationCodeDO;

@Mapper
public interface CompanyInvitationCodeMapper {
    int insert(CompanyInvitationCodeDO record);

    CompanyInvitationCodeDO invitationInfo(CompanyInvitationCodeDO record);

    int update(CompanyInvitationCodeDO record);

    CompanyInvitationCodeDO itemByCode(@Param("invitationCode")String invitationCode,@Param("senderOrgId")String senderOrgId,@Param("receiverOrgId")String receiverOrgId);

}